﻿CREATE TABLE [dbo].[forum] (
    [forum_id]           BIGINT         IDENTITY (1, 1) NOT NULL,
    [forum_name]         NVARCHAR (50)  NOT NULL,
    [forum_category_id]  BIGINT         NOT NULL,
    [description]        NVARCHAR (512) NULL,
    [feedburner_rss_url] VARCHAR (100)  NULL,
    CONSTRAINT [PK_forum] PRIMARY KEY CLUSTERED ([forum_id] ASC),
    CONSTRAINT [FK_forum_forum_category] FOREIGN KEY ([forum_category_id]) REFERENCES [dbo].[forum_category] ([forum_category_id])
);



